/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poker.neuralnetwork.functions;

/**
 * Linear function returns the sum of the weighted inputs. Thats it. In other
 * words, it doesn't use a squashing function (or discrete threshold function).
 *
 * Generally used for regression, as opposed to classification, on the output.
 *
 *
 * @author Benjamin L. Brodie <blbrodie@gmail.com>
 */
public class Linear implements Function {

    public double f(double sum) {
       return sum;
    }

}
